package com.east.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.east.bean.DictionaryItems;
import com.east.utils.BaseMapper;


public interface DictionaryItemsMapper extends BaseMapper<DictionaryItems> {
	
	List<DictionaryItems> findByDictionaryItems(Map<String, Object> map);
	
	/**
	 * 销售负责人
	 * @param dementId 部门id
	 * @return
	 */
	List<DictionaryItems>  findBystaffSale(@Param("dementId")Integer dementId);
	
	/**
	 * 销售负责人
	 * @return
	 */
	List<DictionaryItems>  findBystaff();
	/**
	 * 销售负责人
	 * @param dementId 部门id
	 * @return
	 */
	List<DictionaryItems>  findByproject();
	
	/**
	 * 所有销售公司
	 * @return
	 */
	List<DictionaryItems>  findBySaleCompany();
	
	
	
	DictionaryItems findByName(@Param("name")String name);
	
}